n = input()

s = [int(i) for i in input().split()]

s = sorted(s,reverse=False)

print(' '.join(map(str,s)))
